An Operational Semantics and Compiler for Real-time Speciications
نویسندگان
چکیده
The Modechart speciication language is a formalism for the speciication and implementation of real-time systems. The semantics of the language was formally deened axiomatically in Real-Time Logic. This paper presents the semantics for Modechart in an operational style and a compiler for automatically synthesizing speciications. Modechart is a synchronous language, which assumes the synchronous model of concurrency and broadcast of events. The synchronous model assumes the system to be theoretically much faster than the environment. Modechart allows both deterministic and non-deterministic real-time speciications. The semantics for the class of deterministic speciications is introduced rst, followed by the deenition of the non-deterministic semantics. The deterministic semantics naturally derives a Modechart compiler, which provides automatic synthesis of formal speciications. An extension to the compiler presented provides support for a subset of the class of non-deterministic speciications, very useful in practice. We characterize this class and show how it can be used in automatic code generation for engineering real-time applications.
منابع مشابه
An Operational Semantics and a Compiler for Modechart Speciications
The Modechart speciication language is a formalism for speciication of real-time systems. The original semantics of the language is described in an axiomatic style, with Real-Time Logic being the underlaying logic. We introduce a new formal semantics for it in an operational style in two steps. The semantics for the class of deterministic speciications is introduced rst and then it is extended ...
متن کاملGcsr: a Graphical Language with Algebraic Semantics for the Speciication of Real-time Systems
Graphical Communicating Shared Resources, GCSR, is a formal language for specifying real-time systems including their functional and resource requirements. A GCSR speciication consists of a set of nodes that are connected with directed, labeled edges, which describe possible execution ows. Nodes represent instantaneous selection among execution ows, or time and resource consuming system activit...
متن کاملReal-time Estelle Real-time Estelle
Estelle is one of the standardized Formal Description Techniques for the specii-cation of communication protocols and distributed systems. Unfortunately, Estelle is not capable to express real-time requirements or characteristics of services or protocols which is especially important in the context of distributed multimedia systems. In this paper, we introduce an extension to Estelle called Rea...
متن کاملCompiling Modechart Speciications
The Modechart speciication language is a formalism for the speciication of real-time systems. A toolset for speciication, analysis and simulation for Modechart speciications exists for supporting the design and construction of real-time systems CHLR93]. This paper introduces a new tool in the the toolset: a compiler for a class of Modechart speciications, namely, that of deterministic system sp...
متن کاملAsm-based Mechanized Veriication of Compiler Back-ends
We describe an approach to mechanically prove the correct-ness of BURS speciications and show how such a tool can be connected with BURS based back-end generators 9]. The proofs are based on the operational semantics of both source and target system languages spec-iied by means of Abstract State Machines 14]. In 27] we decomposed the correctness condition based on these operational semantics in...
متن کامل